package cn.hp;

import org.springframework.boot.Banner.Mode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {
	//web.xml配置文件，前端控制器，编码过滤器
	//包扫描范围：当前启动类所在的包以及子包
	
	public static void main(String[] args) {
		//SpringApplication.run(Application.class, args);
		SpringApplication application = new SpringApplication(Application.class);
		//关闭banner
		//application.setBannerMode(Mode.OFF);
		
		application.run(args);
	}
}
